<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> 武汉同兴一站办企业服务有限公司 管理中心 - 添加文章 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/Public/Admin/Styles/general.css" rel="stylesheet" type="text/css" />
<link href="/Public/Admin/Styles/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>
    
    <span class="action-span"><a href="#">优惠券添加</a></span>
    <span class="action-span1"><a href="#">武汉同兴一站办企业服务有限公司 管理中心</a></span>
    <!--   <span id="search_id" class="action-span1"> - 添加分类 </span>-->
    <div style="clear:both"></div>

</h1>
<div class="main-div">
    
    <form action="<?php echo U('Order/edit');?>" method="post" name="my_form" id="my_form" enctype="multipart/form-data">
        <table width="100%" id="general-table">
            <input type="hidden" value="<?php echo ($rel["order_id"]); ?>" name="order_id">
            <tr>
                <td class="label">订单id</td>
                <td>
                    <input type='text' name='order_id' maxlength="20" value='<?php echo ($rel["order_id"]); ?>' size='27' disabled/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">订单编号</td>
                <td>
                    <input type='text' name='order_sn' maxlength="20" value='<?php echo ($rel["order_sn"]); ?>' size='27' disabled/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">订单类型</td>
                <td>
                   <!--<select name="order_type">-->
                       <!--<option value="0" <?php if($rel["order_type"] == 0): ?>selected<?php endif; ?>>商品订单</option>-->
                       <!--<option value="1" <?php if($rel["order_type"] == 0): ?>selected<?php endif; ?>>积分商城订单</option>-->

                   <!--</select>-->
                    <input type="text"  value="<?php if($rel["order_type"] == 0): ?>商品订单 <?php else: ?>积分商城订单<?php endif; ?> " disabled>
                </td>
            </tr>
            <tr>
                <td class="label">商品名称</td>
                <td>
                    <input type='text' disabled name='goods_name' maxlength="20" <?php if($rel["order_type"] == 0): ?>value='<?php echo ($rel["goods_name"]); ?>'
                <?php else: ?>value='<?php echo ($rel["name"]); ?>'<?php endif; ?> size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">订单原始价</td>
                <td>
                    <input type='text' name='order_price' maxlength="20" value='<?php echo ($rel["order_price"]); ?>' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">订单折后实际支付支付价格</td>
                <td>
                    <input type='text' name='payment_price' maxlength="20" value='<?php echo ($rel["payment_price"]); ?>' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
            <tr>
                <td class="label">所用的积分</td>
                <td>
                    <input type='text' name="integral" maxlength="20" value='<?php echo ($rel["integral"]); ?>' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">积分所扣金额</td>
                <td>
                    <input type='text' name='integral_price' maxlength="20" value='<?php echo ($rel["integral_price"]); ?>' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">享受的折扣</td>
                <td>
                    <input type='text' name='discount' maxlength="20" value='<?php echo ($rel["discount"]); ?>' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">折扣金额</td>
                <td>
                    <input type='text' name='discount_price' maxlength="20" value='<?php echo ($rel["discount_price"]); ?>' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">下单时间</td>
                <td>
                    <input type='text' name='order_time' maxlength="20" value='<?php echo (date("Y-m-d H:s:i",$rel["order_time"])); ?>' size='27' disabled /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">订单状态:</td>
                <td>

                    <input type="radio" name="order_state" value="0" <?php if($rel["order_state"] == 0): ?>checked<?php endif; ?>>处理中
                    <input type="radio" name="order_state" value="1" <?php if($rel["order_state"] == 1): ?>checked<?php endif; ?>>已完成
                </td>
            </tr>
            <tr>
                <td class="label">收货地址</td>
                <td>
                    <input type="hidden" value="<?php echo ($rel["address_id"]); ?>" name="address_id">
                    <input type='text' name='address' maxlength="20" value='<?php echo ($rel["address"]); ?>' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">状态:</td>
                <td>

                    <input type="radio" name="state" value="0" <?php if($rel["state"] == 0): ?>checked<?php endif; ?>>已删除
                    <input type="radio" name="state" value="1" <?php if($rel["state"] == 1): ?>checked<?php endif; ?>>正常
                </td>
            </tr>
        </table>
        <div class="button-div">
            <input type="submit" value=" 确定 " />
        </div>
    </form>

</div>

<div id="footer">
共执行 3 个查询，用时 0.162348 秒，Gzip 已禁用，内存占用 2.266 MB<br />
版权所有 &copy; 2005-2012 武汉同兴一站办企业服务有限公司，并保留所有权利。</div>

</body>
</html>
<script type="text/javascript" src="/Public/Admin/JS/jquery-1.8.3.min.js"></script>